#ifndef pub_pop_get_date_H
#define pub_pop_get_date_H

#include <QDialog>
#include <QSqlQuery>
#include <QSqlQueryModel>
#include <QTimer>
#include <QDate>

namespace Ui {
class pub_pop_get_date;
}

class pub_pop_get_date : public QDialog
{
    Q_OBJECT

public:
    explicit pub_pop_get_date(QWidget *parent = nullptr);
    ~pub_pop_get_date();

signals:


public slots:

    void setDisplay( QRect rct, QDate dt );

    QDate ret_date();
    QString ret_str();

private slots:



    void on_buttonBox_accepted();

    void on_buttonBox_rejected();

    void tmot();


private:
    Ui::pub_pop_get_date *ui;

    QTimer tm;
    QString value_str;
    QDate value_date;
};

#endif // pub_pop_get_date_H
